package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.List;  //加入排班记录list

/**
 * 医生列表对象 ha_doctors
 * 
 * @author 鲍小伟
 * @date 2025-11-11
 */
public class HaDoctors extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long did;

    /** 医生名称 */
    @Excel(name = "医生名称")
    private String dname;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String dcard;

    /** 出生日期 */
    @Excel(name = "出生日期")
    private String dbirthday;

    /** 医生工号 */
    @Excel(name = "医生工号")
    private String dno;

    /** 性别 */
    @Excel(name = "性别")
    private String dsex;

    /** 手机号 */
    @Excel(name = "手机号")
    private String dmobile;

    /** 社保卡号 */
    @Excel(name = "社保卡号")
    private String dssid;

    /** 教育状况 */
    @Excel(name = "教育状况")
    private String dedulevel;

    /** 职称 */
    @Excel(name = "职称")
    private String protitle;

    /** 执业证号 */
    @Excel(name = "执业证号")
    private String licenseno;

    /** 医师级别 */
    @Excel(name = "医师级别")
    private String dlevel;

    /** 所在院区 */
    @Excel(name = "所在院区")
    private String dhoscampus;

    /** 所在科室 */
    @Excel(name = "所在科室")
    private Integer deptcode;

    /** 医生头像 */
    @Excel(name = "医生头像")
    private String dimage;

    /** 技能介绍 */
    @Excel(name = "技能介绍")
    private String dskill;

    /** 详细介绍 */
    @Excel(name = "详细介绍")
    private String ddescription;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;



    /* ======== 2. 放开一对多字段 ========== */
//    private List<HaSchedules> pbList;   // 医生列表
//
//    /* ======== 3. 生成 getter / setter ====== */
//    public List<HaSchedules> getPbList() {
//        return pbList;
//    }
//
//    public void setPbList(List<HaSchedules> pbList) {
//        this.pbList = pbList;
//    }


    public void setDid(Long did) 
    {
        this.did = did;
    }

    public Long getDid() 
    {
        return did;
    }

    public void setDname(String dname) 
    {
        this.dname = dname;
    }

    public String getDname() 
    {
        return dname;
    }

    public void setDcard(String dcard) 
    {
        this.dcard = dcard;
    }

    public String getDcard() 
    {
        return dcard;
    }

    public void setDbirthday(String dbirthday) 
    {
        this.dbirthday = dbirthday;
    }

    public String getDbirthday() 
    {
        return dbirthday;
    }

    public void setDno(String dno) 
    {
        this.dno = dno;
    }

    public String getDno() 
    {
        return dno;
    }

    public void setDsex(String dsex)
    {
        this.dsex = dsex;
    }

    public String getDsex()
    {
        return dsex;
    }

    public void setDmobile(String dmobile) 
    {
        this.dmobile = dmobile;
    }

    public String getDmobile() 
    {
        return dmobile;
    }

    public void setDssid(String dssid) 
    {
        this.dssid = dssid;
    }

    public String getDssid() 
    {
        return dssid;
    }

    public void setDedulevel(String dedulevel) 
    {
        this.dedulevel = dedulevel;
    }

    public String getDedulevel() 
    {
        return dedulevel;
    }

    public void setProtitle(String protitle) 
    {
        this.protitle = protitle;
    }

    public String getProtitle() 
    {
        return protitle;
    }

    public void setLicenseno(String licenseno) 
    {
        this.licenseno = licenseno;
    }

    public String getLicenseno() 
    {
        return licenseno;
    }

    public void setDlevel(String dlevel) 
    {
        this.dlevel = dlevel;
    }

    public String getDlevel() 
    {
        return dlevel;
    }

    public void setDhoscampus(String dhoscampus) 
    {
        this.dhoscampus = dhoscampus;
    }

    public String getDhoscampus() 
    {
        return dhoscampus;
    }

    public void setDeptcode(Integer deptcode)
    {
        this.deptcode = deptcode;
    }

    public Integer getDeptcode()
    {
        return deptcode;
    }

    public void setDimage(String dimage) 
    {
        this.dimage = dimage;
    }

    public String getDimage() 
    {
        return dimage;
    }

    public void setDskill(String dskill) 
    {
        this.dskill = dskill;
    }

    public String getDskill() 
    {
        return dskill;
    }

    public void setDdescription(String ddescription) 
    {
        this.ddescription = ddescription;
    }

    public String getDdescription() 
    {
        return ddescription;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("did", getDid())
            .append("dname", getDname())
            .append("dcard", getDcard())
            .append("dbirthday", getDbirthday())
            .append("dno", getDno())
            .append("dsex", getDsex())
            .append("dmobile", getDmobile())
            .append("dssid", getDssid())
            .append("dedulevel", getDedulevel())
            .append("protitle", getProtitle())
            .append("licenseno", getLicenseno())
            .append("dlevel", getDlevel())
            .append("dhoscampus", getDhoscampus())
            .append("deptcode", getDeptcode())
            .append("dimage", getDimage())
            .append("dskill", getDskill())
            .append("ddescription", getDdescription())
            .append("status", getStatus())
//            .append("pbList", getPbList())  //当前月度的排班列表
            .toString();
    }
}
